package com.android.fragmentdemo
import android.os.Bundle
import android.view.animation.BounceInterpolator
import com.hengfoxwolf.commonbase.base.BaseActivity2
import com.android.fragmentdemo.databinding.ActivityStereoBinding

class StereoActivity : BaseActivity2<ActivityStereoBinding>(ActivityStereoBinding::inflate) {

    override fun init(savedInstanceState: Bundle?) {
        mBinding.stereoView0
            //.setAngle(15F)
            //.setResistance(4f)//设置滑动时阻力
            //.setInterpolator(BounceInterpolator())//插值器
            .setStartScreen(2)//设置开始时item，注意不能是开头和结尾

        mBinding.stereoView1.setCan3D(true)
    }

}